begin the get-balance functionality