implement syncSize