Added second code sample, fixed closure bug