sync -- very buggy