added  and show it inthe function
added  and show it too in the function