removes setInstance method