switched int and nat