Update state checks and add author line