minor tweak and addition of method for personal use