Framework for combined spin program