cutom functions for display dataframes and math