add modifications for instruct