buildother: code overhaul