mass erase and program working