changing up the definition of the bool sync argument