changed broken code