fixed defn with parameters in readme