changed sequence attribute to be boolean