add function

add void:setupview to set own properties