Implemented Next Operation

Fixes issue #66