test on adding delete function & added time input