Changed interval to time