Edited a set method