Merged code
Implemented showing fragment