adding stallion functions