improved data representation in iOS