changed balance to >=