i just modified the types controller