removed duplicate calls to getInstance()