tweaks for code to help end-to-end testing