Update method readClause to use array instead of vector