riffadd function added without saving