ip trait and new \valid util