removed deprecated function and updated readme