updated to capture fragment, layout and back level stuff