printing table with data