Important to create temporary local variable to store first element