matt HOFFNER
refactor to use openai functions
f6091f7