removed weird nested factory class