fixed styling and added some docs