add conditional to assembly