reverting broken code