first (working) version moved from main rep to own gem