Trying with creating a new thread