added license to readme
altered prototype function, cause that is bad