removing tables and changing to div