Added special case for n=2