create boolarr instead of slicing