adding seq implementation