main ready for deployment