Added sync method