added get_address functions