Trying to figure out why this crashes on staging.fluxtream.org; this version may not work