Fixed bug and added documentation