changes varible name appropriately