reverting changes to broken code