add conditional for checkbox