create tables for chosen history