fixed bugs, added documentation, and very cool stuff!