derp, this is a case statement