removed print_table funtion header