updated to wait and check again