webmify function. v nice