fixed up dragon sample