added misc details in checkContains but commented out so thaat it can be
used later on.