removed deprecated method for version 7.0