display_effect function

Default function to display the effect