more dom function in an easy way.