got seek functionality working