Now indexing number of members; Rake task refactoring