v1 factoring from original shepherd work