adding main for submission