change evaluation algorythm, eval() is not used anymore