Added var to prevent pollution of global namespace