accepting setters with 2 parameters