refactored desantara out of globals