all sequence functions implemented; sequence syntax working