intial commit of code for figures