get_address function update. #1