poll creation working

Signed-off-by: ZPaulo <jose.p.s.olive@gmail.com>