switching the case false and true and what not