first version gem working