Is this necessary like this, I don't really know this Ruby construct..