added functionality for show