split out a few calls in jangular for better debugging