done with poll with ajax assignment