rewrite to not have an effect on gophercloud