now using arrays in datamanager