Updated getBalance Functionality

Updated getBalance Functionality