debugging flags, take 2