added check on sequence