added docs
added TODO