added deprecation message
modified deprecation message