remove binary
add pin query
first version
work with gui