add function to report button;