First working version

Only works for "system" offer for now