necessary and sufficient condition