code ready for submit