better www() function