added constants of time periods in seconds