replaced consts with global module