Added setAddress function