changed variables to lower