add visable function.