this looks like a paste from the original.. so why not calling the original D7 function?