factorize fixtures