creates table for title