bug in match_series fixed
names changed: variables->objects
unfinished stuff