changed polling period to use less cpu