implemented simulation logging