implemented completed-checkbox functionality