added stuff and added documentation for api