fetching and showing details/state