added dynamic time/row creation