Added sync implementation