Handle list as array