added pre and time