Add notes on logic