added example of deprecated precated function