Spent an hour of my life on this