slight modification to variables