subclass from Runnable class for more modularity