update src to use new set method