updated interface to include timeOfDay in methods