refactored yet again
modified factors test to use dist
dist generated with new date