Add next class method

The name pretty much says it all....