added subscript and field var