Adding Steven's base Code