n=0 case. also maybe more readable?