changed the rules, fixed typos.