add getCurrTarget function that return current target object