Split createTask into separate method for better reusablity