initilize DOCTYPE method