added synthetic spectrum maker
bugfix: clear strs before overwriting