setup for epochs WIP, need to finish outcomes first