made example code of proper accoitnDetails storage