cleanded up docs, fixed lack of compilation