changed variables to be more recognizable