testing modify function