adding exception for requiring value in docs param