added getting of unused procedures