add extract function + alias