Added named variables for cleaner code.