adding closures to all codes, change to README