now data reformatting def. should work