Working for multiple addresses