this function is now obsolete