added a bunch of stuff for mixed content view