don't use ints when you wants bools or null ptrs