select! was not part of ruby-1.8.7