table preview loads data into it