changed default fragment, added a few data structures