add type to debug