added dom api