moved balance to a header, added import