inner class added
thread is added