set  method