How to break a bad habit