change the type used