rewrite `view` commands
add myType and __testType