add debugging messages for labor management