Fix: Changed example code, added comments for clarification