changed var names for easier reading/less clutter