Restored the seeking functionality
Added a namespace to the code