Combining code from Ontwikkelfactory