improved page functionality