Version 1.3, added documentation comments