try to use local varible first