Changed post-increment to pre-increment operators