documentation
remove dead code