Implementation Of Best First Class