updated and expanded documetation