needed a factory so I could attach these guys to the api class