trying to get local sync to work