add field for an id as well as getters and setters for it