urgh no booleans in this C version