first version of the ip class