be more verbose
remove call to deprecated function