Added name parameters to balance functions