- Add $this->screenshoot(); on the bottom of the function