debugging help (should work now)