made readSkip take optional arguments