created table button to almost work