Reformatted quancast code due to layout changes