deleting types started, issue with foreign keys atm