mapping cnext and cprevous