moved shared utils to flotsam