update to version

example alternative implementation with for loop
testing with MONOLIX dataset