Switched to closure for minifying