added time block, edited logging in poll-s3