Input sanity checking and q1