adding transitional code