some minor changes and comments added, along with a README