sqrtV0 and beta are module (global) variables