Increase str_prinft instead of while(xQueue)
Indent the code
increase history command