switched status to checkbox