Add checkBalance functionality