Added documentation. Everything works!