added doc type and intial scale