adjust range and var name