add conditional widget calls