added showing functionality