cleaning up the Sequences class