Qpractice: code cleaned