implementation of elitism added