debugging struggles