revert to using gem