started writing up some docs