removing deprecated code

pre-incrementing newID (++newID) in-line during assignment