all backend should be done for sweeps, proceed with templating