widget function injects helpers, sets parent widget