added debug info and required vars to place order