beautifying the base template