ok, why did I still have a type error?