main, torso of sync, directory, search