finished awkward state code