added apply page styles