Wrong createUnit syntax