simplified controler without pointers
Qdebug added in case of wrong path