adds the basics for fragments