can you add a type to the params?