Not sure if I should make "ip_address" and extended attribute for this function?