sync works fine