changed to html table and added inputs