readme and code corrections