For one, there's an order to place the DT includes in your program.

And it would REALLY help to see your complete code.