data is being displayed in the main activity