adding table to components, fixed exception handling