Removed argument of wait_time where it was incorrect