added deprecated function until 1.0