eliminate deprecated method