added function for show info