Updated to remove unnecessary deprecated function call