optimise the Centradis code
add search feature