pause command implemented (in a dirty way)
implemented resume command.