extracting instructions