more efficient ip info method

not completely switch to using this yet