after three hours of loitering , pretending to be preoccupied with rearranging the items on her dresser , combing through her hair , and making sure her costume was in perfect condition , she gave up .