reverted controller to old file so it would work again