removed unused origins module
removed unused code