upgraded to use new getInstance process