create the functions bx, by and bz without doctests