improve cose & arbor; needs tweaking