documentation, remove unused function