rename checkMapper to validator