Using data tables to improve performance