#08 impl error check
#09 #10 send and store results of poll