all operations done on stack with call by reference