show functionality updated