compiles but doesnt draw