added # to result writer