Changed variable names, added output dataset