rm faulty logic