renamed some common varables