removed unnecessary variable usage
add compatibility to readme