Changed Runnable to Actor pattern