refactoring registration into day and time