changing get calls to variables