Added more sequence functionality