todo
create boolarr instead of slicing