documentation, more test functions