added data for algorithm