ending changed slightly