add state machine
add closing ticket