this is now a mess: removing obsolete procedures