add immediate flag