Duplicate method as another, which exists in a separate class.  Can change this to a static method so it can be called in both places and we don't have repeated code.