adding doc type service