Added continuous polling and observer mode