solved withinSameBlock
solved withinArray
solved invert