creating Fragments the proper way