cool, I was expecting that this code would need to be written better