bool should be float