minor flaw fixed