d generator didnt completly import everything needed