started adding sync to entities