added a helper function, it will make sense in the next batch of changes
used the new setId()/getId() to get rid of the custom coding