now we can get source and goal from card
changed ul to div