add first stub of svindex pseudocode