Handle closest element
Reshuffle function order