change bool() method