Implemented simplest algorithm to save raw data to config