Implementation of the evaluation funciton and improvement of the data representation