tested function names; added java.util.Collection