New method to submit task