add fetch by id functional