removed redundant getId() method