n for how many items to deal with