Wasn't printing values in correct order

D’oh!