add support for slice and possible read cursor modification checks
remove unecessary argument