Split fanction of create task