Examples with closure