added two constructors with BaseService and id