adding comments. adding flatten
adding math and list fnts