added some apidocs