'function' is a bashism