added pointer type
base tally_class file