change n from 1