setting up type