Added evalutation function.