adding #set method to take user set values