handy Gentoo function -- functioned and unfunctioned