Updated Account transfer code to exhibit the design approach.