vision function

add vision function
TODO: reconstruct the data structure of top levels and lower levels to
consistence
By bill