added showforpage
added listners