Pass dict instead of globals(), it's a bit faster