Added a logging mechanism. Not sure how to do static var in function to create staggered start pos.