Can only use local in function not block