decorator into gem