add From and To methods
add graph command to binary