added documentation and renamed file