insert hours dynamically