server for smart discount