Fixed out of order bug
Passing test 1