add method to get raw data