tables custom names / function getip improvement