created function to inform user about table