There's got to be a better way