simplified
Simplified for working only for an array and an offset.

Merge branch 'feature/array-only' into develop