Updated with closure examples