fontain: removed old stuff; added common header