added table and GUI