add function for getting raw data back from sequence