added fetching by id/name