array pattern more simple