before adding gems