since we are specifically targetting bash, declare functions with "function"