bool casts work