missing question mark and better logging