added closure examples