Working on service definition