inclusion code for fedora 19, involved but working