add array support

Signed-off-by: Janos Laube <janos.dev@gmail.com>