use name instead of creating an instance first