removed puts changed copy a bit