Finished implementing serial control flow using an array