added new changes to support array markers