Implementing threads
Handler with threads implemented