get type and not create if already existing