huge change to work on the opencart interface