debug + sync