broken code for debugging