divide to tasks