Added interrupt function.. misses the change of the polling function, still buggy