added simplify()- PLEASE HELP - has tiny issues