seems to be a problem w/ pattern match recognition