Comment on used deprecated method