helper to quickly build prog