using the underscore each function to create the redline array