implemented seek example.