fixed standards and removed deprecated function
updated the readme