mod 1 working
pass data to table