add new fun on viewpage