Add 'pause state', and some comments