capacity law