seperating mixed content [Work in Progress]