added initial balance variable