adding some additional code to practice moving data around in ios