Started implementing sync method