Add logging
Add logging
Add random distribution of ticks
Modify logging