Added function to get address tuples