with checkbox, working version