Added helper methods for generating sequences