initial triplesec implementation