allow seeking from beginning and end