Changed n back to 5