broken code before demo