improvenents; create action for tables