create base functionality (fragments interaction)