changed variables to mine