did some fancy accordion stuff