remove needless print and add 3 method