write fn to call galleon's apis; use it for comps