added getters and setters to primary key values