updated to include tabs and add and delete functionality