array bending utilities