add query by id method