Clarified code