remove the sequence function; fix references to that - also fixes issues with topologic