Use function expressions instead of function declarations (to eliminate lint errors)