updated speed calculation to do it for all task seperatly