implemented stamp instructions