add length of task,  info about delivery, changed function get nearest task