Added ENDED to checkSeek method