Made functional, changed 'implements runnable' to 'extends Thread'