added assemble and regex for content types