seperated createThing and insertUnit