removed deplecated method