foo is a pointer and created an array of 5 elements
Minor change for class