uses exisiting dom reference