explain how ikiwiki uses discount first