Implemented QP, finalized..