Add arrays and convert type

Signed-off-by: Jacobo Tibaquira <jacobotibaquira@gmail.com>