public static Dog getDog(String criteria)
  {
    if ( !criteria.equals("small") )
        if ( criteria.equals("big") )
            return new Rottweiler();
        else if ( criteria.equals("working") )
            return new SiberianHusky();
    else return new Poodle();

    return null;
  }