adds some collection functions