refactor content type