add get by id method