minor tweaks added to make more user friendly