added listenToDay function