Stock factory logic I tend to use with PDO factories