added XML creating to pollHandler

need to manipulate it