adds clustering for increased performance