add arrays support