learn to use fragments