Replaced error log with funciton in readme