* fixing bug with keeping currentData global up to date