images loaded and table definied