Added format to debug