switched the return values. whoops