clearing println
adding query api