allow Bools as type parameters