added depracation notice
added depracation notice