Wrapped everything inside closures