Cleaned up. have to finish ballance account calculation