working on status polling