added functionality for 2 hours duration