added getTarget function for card levels