Changed from n to np (number of particle)