added factory that I thought was already there