Undefined variable: t4