set up fragment