Clean map implementation