Itenerant f electron behavior in Ce and U compounds