interval added to refresh every second