syntax error in adding was:extractAll