adding closures library