Implemented RES b,r