removed getRoot as it was not needed anymore, use drawRoot instead