changed datatype to long, so removed decimal points. Also added
functional document.