added ability to getInstance from methods with arguments