Added submit helper method