How to be a lie detector