using fitness function in custom