refactored jambase for v3