improved debugging information