added hydra draw code