added extended seek functionality