first draft of TransformAccountDetails.java