implement more dom methods