implement ZR command