code for our report figure