Changed var names to make it easier to read