changed the way service is loaded