everything working except inner tables for state and customer