added frame sync back in.