added table and ajax