add commands first, last, nth