removed unused base variable