add closures into the notes