Improving code for poster presentation