handler accepts N