cleaned up docs, removed dead code