assigned startup method to all data classes so that they can access their collections