integrate magic cycle