added control instructions to mapper