Implement checkBalance method