parsing raw data from select.by
refactoring parsing raw data from select.by