make setUpAdaptor method public