Helping a friend learn about different array functions - don't mind me!