moved setInstance into its correct place.