added new table for frontend
fixed types