add begin of reveil client side