allow for sync flag