added todo
corrected and cleaned up documentation