add readme and a simple bug fix