updated synopsis code to new interface