makes it work with sage