added allocation of preferred address