adding helper method for time schedule