Should probably remove this block of code instead of commenting out if not used any more.