Well there is no need to store target as a list actually. I was trying to do something else, which didn't work. As of now there is no need to store the target as a list here.