cleaning up nearest and interest