basic browser example written in haste