removed function "in_collection" because "contains" already does this (and more)