derp, $0 is the shell's name, not the function name