added onPageAppear