modified factories to satisfy idea controller spec