try making graph work for poll