setting up fragments for loading