changes reverted 2014-03-11 version
wokring code again, still need to investigate other containers. previous crashes likely due to uninitialized record.matches() and conditional in matches loop