updated version
updated function get_tasks
updated function