added ability to give out tasks for entitys