update the README with some usage instructions, update the code to make the instructions correct