amended variable names xlab now xlabel