comparing results from davide and my scripts