Again, we can make this code a lot more concise.