maybe the built-in page loading callback will work