server handles raw data