changed ":" to "-" in default parameters of computeBalance