made small adjustments to code and README