Move this to ap ublic static function of the Application