simplifying some variables