imported from seque repository