added events and day setting