there is a bit of version hardcoding above, let's avoid it