updated variable names for easier reading