Additon to prior code