automaticly calculate minutes_used