Made data array globally available