additional changes to make gem initially working