at last his bag was poured out in front of him , and he signed and initialed his last form , but the discharge officer was holding his iphone up in the air with one hand turning it end over end trying to figure out what it was .