removed flattening of array

Signed-off-by: Blessing Osakue <iyoworks@gmail.com>