debugging inefficiently