add tests for method existence
add documentation