amend with dynamic checkbox