watch,print and quit implemented