Clarified code on slides