Setting the type