implement wait()