`prev_np` is not required. Remove this line.