tweaks
rudimentary test added.