Condensed common code